LCOV - code coverage report
Current view: top level - src - IDriveMotor.hpp (source / functions) Coverage Total Hit
Test: RVC v2.0 Unit Test Coverage Lines: 100.0 % 2 2
Test Date: 2026-06-04 11:15:37 Functions: 50.0 % 4 2
Legend: Lines:     hit not hit

            Line data    Source code
       1              : #pragma once
       2              : #include "Direction.hpp"
       3              : 
       4              : class IDriveMotor {
       5              : public:
       6           39 :     IDriveMotor()                                        = default;
       7           39 :     virtual ~IDriveMotor()                               = default;
       8              :     IDriveMotor(const IDriveMotor&)                      = delete;
       9              :     IDriveMotor& operator=(const IDriveMotor&) = delete;
      10              :     IDriveMotor(IDriveMotor&&)                 = delete;
      11              :     IDriveMotor& operator=(IDriveMotor&&)      = delete;
      12              :     virtual void moveForward() = 0;
      13              :     virtual void moveBackward() = 0;
      14              :     virtual void stop() = 0;
      15              :     virtual void turn(Direction direction) = 0;
      16              :     virtual void rotateRight() = 0;
      17              :     virtual void rotateLeft() = 0;
      18              : };
        

Generated by: LCOV version 2.4-0